import Vue from 'vue';
import Vuex from 'vuex';
import news from './modules/news/news';
import product from './modules/product/product';
import cart from './modules/cart/cart';
import comment from './modules/comment/comment'

Vue.use(Vuex)
const store = new Vuex.Store({
  modules: {
    news,
    product,
    cart,
    comment
  }
})
export default store
